System for Increasing the Accuracy of Non Invasive Prenatal Diagnostics and Liquid Biopsy by Observed Loci Bias Correction at Single Base Resolution

ABSTRACT

Techniques for measuring abundances of sequences includes obtaining first data that indicates a target sequence at a plurality of loci, wherein the target sequence comprises a plurality of bins of loci for which a relative abundance is indicative of a condition of interest. Second data is determined that indicates alignment with the target sequence of reads of DNA fragments in a sample from the subject. Third data is determined that indicates locus dependent observed variations in abundance. A raw count Hj of reads is determined that start at each locus j; and, a copy number of a first bin is determined based on a sum over all loci in the first bin of expected counts for each partition weighted by the locus dependent observed variations. Output data that indicates condition of the subject based at least in part on the copy number of the first bin is presented.

CROSS-REFERENCE TO RELATED APPLICATIONS

This application claims benefit of Provisional Appln. 62/582,842, filed Nov. 7, 2017, the entire contents of which are hereby incorporated by reference as if fully set forth herein, under 35 U.S.C. § 119.

BACKGROUND

Massively Parallel Sequencing (MPS) approaches such as those now in wide commercial use (Illumina/Solexa, Roche/454 Pyrosequencing, and ABI SOLiD) are attractive tools for sequencing. Typically, MPS methods can only obtain short read lengths (hundreds of base pairs, bp, also called nucleotides, nt, with Illumina platforms, to a maximum of 200-300 nt by 454 Pyrosequencing) but perform many thousands to millions of such short reads on the order of hours. Sanger methods, on the other hand, achieve longer read lengths of approximately 800 nt (typically 500-600 nt with non-enriched DNA) but take several times longer to do so.

While sequencing machines were originally created for the purposes of sequencing unknown or incomplete genomic DNA, they have since been put to a myriad of other uses. Considering a sequencer simply as a device for recording the count of specific DNA sequences, sequence census experiments utilize high-throughput sequencing to estimate abundances of “target sequences” (also called “reference sequences”) for molecular biology and biomedical applications. Unusual populations of certain reference sequences can be diagnostic of disease.

To compare the DNA of the sequenced sample to its reference sequence, current methods are designed to find the corresponding part of that sequence for each read in the output sequencing data. This step is called aligning or mapping the reads against the reference sequence. Once this is done, one can look for one or more variations (e.g., a single nucleotide polymorphism, SNP, or a copy number variation, CNV, or a structural variation like presence/absence variation, PAV, or multiples or combinations thereof) within the sample. Aligning the read to the reference consumes a considerable amount of computing power.

For example, Sehnert et al 2011 and Biananchi et al 2014 describe methods to identify aneuploidy in a fetus from maternal blood samples, thus avoiding expensive and dangerous invasive procedures. Aneuploidy is a condition in which the number of chromosomes in the nucleus of a cell abnormal for a particular species. In humans, the normal cell has two copies of each chromosome, called diploid, while an aberrant cell might have fewer copies (0 called a deletion, 1 called monosomy) or more copies (3 called trisomy, etc.). An extra or missing chromosome, or a significant portion thereof, is called a copy number variation (CNV), and is a common cause of genetic disorders including human birth defects. The fetal DNA in maternal blood is a very small fraction of the sample (e.g., less than 10% and often as little as 0.5%) and the identification of its sequences is thus subject to systematic and random errors in the sample preparation, sequencing and alignment processes. Detecting fetal anomalies in the mother's blood is a form of non-invasive pre-natal diagnostics (NIPD).

Similarly, cancerous tumors may have copy number variations (CNVs), presence absence variations (PAVs), other structural mutations, or express different genes than the populations of normal cells in an individual. The tumor DNA in a patient tissue sample is likewise a relatively small fraction of the sample (e.g., less than 15% and sometimes as little as 0.5%) and the identification of its sequences is likewise subject to systematic bias and random errors in the sample preparation, sequencing and alignment processes.

Thus, errors and bias in read number and alignment from modern sequencing technology and data processing can obfuscate the underlying biological relationships desired to be discovered to diagnose or track various medical conditions. A bias in the count of reads associated with a particular stretch of a target sequence is called a count bias.

SUMMARY

Techniques are provided for automated determination of, or correction for, count bias, or both, based on nucleic acid base content on a finer grained scale than a bin of interest in a target sequence.

In a first set of embodiments, a method for measuring abundances of nucleic acid sequences includes obtaining first data that indicates a target sequence of nucleic acid bases at a plurality of loci, wherein the target sequence comprises a plurality of bins of loci for which a relative abundance is indicative of a condition of interest. The method includes measuring a sample in a sequencing device to obtain reads. The method further includes determining second data that indicates alignment with the target sequence of reads of DNA fragments in a sample from the subject. Even further, the method includes obtaining third data that indicates locus dependent observed variations in abundance. Even further yet, the method includes determining a raw count Hj of reads that start at each locus j; and, determining a copy number of a first bin based on a sum over all loci in the first bin of expected counts for each partition weighted by the locus dependent observed variations. The method yet further includes presenting on a display, output data that indicates condition of the subject based at least in part on the copy number of the first bin.

In other sets of embodiments, a computer-readable medium or a system is configured to cause an apparatus to perform one or more steps of one or more of the above methods.

Still other aspects, features, and advantages are readily apparent from the following detailed description, simply by illustrating a number of particular embodiments and implementations, including the best mode contemplated for carrying out the invention. Other embodiments are also capable of other and different features and advantages, and its several details can be modified in various obvious respects, all without departing from the spirit and scope of the invention. Accordingly, the drawings and description are to be regarded as illustrative in nature, and not as restrictive.

BRIEF DESCRIPTION OF THE DRAWINGS

Embodiments are illustrated by way of example, and not by way of limitation, in the figures of the accompanying drawings in which like reference numerals refer to similar elements and in which:

FIG. 1A through FIG. 1C are block diagrams that illustrate relative abundance of reference sequences in a sample;

FIG. 1D is a block diagram that illustrates an example process to obtain reads from a sample and associate reads with reference sequences, according to an embodiment;

FIG. 2 is a graph that illustrates example coverage variations along a reference sequence to be corrected, according to an embodiment;

FIG. 3 is a graph that illustrates example coverage variations along a reference sequence due to nucleosome periodicity to be corrected, according to an embodiment;

FIG. 4 is a flow chart that illustrates an example method to estimate and correct for count bias based on content at each locus of interest, according to an embodiment;

FIG. 5 is a block diagram that illustrates example data structures produced after each of several steps described in FIG. 4, according to an embodiment;

FIG. 6 is a graph that illustrates example corrected bin scores for a single sample over human chromosome 1, according to an embodiment;

FIG. 7 is a graph that illustrates example expected bin counts for a single sample over human chromosome 1, according to an embodiment;

FIG. 8 is a block diagram that illustrates a computer system upon which an embodiment of the invention may be implemented; and

FIG. 9 is a block diagram that illustrates a chip set upon which an embodiment of the invention may be implemented.

DETAILED DESCRIPTION

A method and apparatus are described for fine grained detection or correction of count bias. In the following description, for the purposes of explanation, numerous specific details are set forth in order to provide a thorough understanding of the present invention. It will be apparent, however, to one skilled in the art that the present invention may be practiced without these specific details. In other instances, well-known structures and devices are shown in block diagram form in order to avoid unnecessarily obscuring the present invention.

Notwithstanding that the numerical ranges and parameters setting forth the broad scope are approximations, the numerical values set forth in specific non-limiting examples are reported as precisely as possible. Any numerical value, however, inherently contains certain errors necessarily resulting from the standard deviation found in their respective testing measurements at the time of this writing. Furthermore, unless otherwise clear from the context, a numerical value presented herein has an implied precision given by the least significant digit. Thus a value 1.1 implies a value from 1.05 to 1.15. The term “about” is used to indicate a broader range centered on the given value, and unless otherwise clear from the context implies a broader rang around the least significant digit, such as “about 1.1” implies a range from 1.0 to 1.2. If the least significant digit is unclear, then the term “about” implies a factor of two, e.g., “about X” implies a value in the range from 0.5× to 2×, for example, about 100 implies a value in a range from 50 to 200. Moreover, all ranges disclosed herein are to be understood to encompass any and all sub-ranges subsumed therein. For example, a range of “less than 10” can include any and all sub-ranges between (and including) the minimum value of zero and the maximum value of 10, that is, any and all sub-ranges having a minimum value of equal to or greater than zero and a maximum value of equal to or less than 10, e.g., 1 to 4.

Some embodiments of the invention are described below in the context of count bias based on nucleosome periodicity in overlapping windows of size from about 100 bases to about 160 bases at a resolution of a single base. Nucleosome periodicity is due to the fact that DNA in vivo is wound around a core of histones as a nucleosome which protects DNA from sequencing, cutting, and fragmentation and thus interferes with sampling of the section of DNA in the nucleosome. However, the invention is not limited to this context. In other embodiments other sizes of other overlapping or non-overlapping windows placed relative to an individual locus are determined based on other count biases in the window, such as artifacts of the alignment process or a repetitive sequence, or some combination. The described methods also apply with minor changes or relabeling to other mixture situations like liquid biopsies for oncology, organ implantation rejection profiling, infectious disease, or any application where monitoring cell death through cfDNA can assist in monitoring the onset or progression of disease.

1. OVERVIEW

Deoxyribonucleic acid (DNA) is a, usually double-stranded, long molecule that is used by biological cells to encode other shorter molecules, such as proteins, used to build and control all living organisms. DNA is composed of repeating chemical units known as “nucleotides” or “bases.” There are four bases: adenine, thymine, cytosine, and guanine, represented by the letters A, T, C and G, respectively. Adenine on one strand of DNA always binds to thymine on the other strand of DNA; and guanine on one strand always binds to cytosine on the other strand and such bonds are called base pairs. Any order of A, T, C and G is allowed on one strand, and that order determines the reverse complementary order on the other strand. The actual order determines the function of that portion of the DNA molecule. Information on a portion of one strand of DNA can be captured by ribonucleic acid (RNA) that also is composed of a chain of nucleotides in which uracil (U) replaces thymine (T). Determining the order, or sequence, of bases on one strand of DNA or RNA is called sequencing. A portion of length k bases of a strand is called a k-mer; and specific short k-mers are called oligonucleotides or oligomers or “oligos” for short.

FIG. 1A through FIG. 1C are block diagrams that illustrate relative abundance of reference sequences in a sample. FIG. 1A is a block diagram that illustrates an example data structure 110 of T reference sequences Q, including field 110 a holding data that indicates first reference sequence (Q₁), through field 110 b holding the last (Tth) reference sequence (Q_(T)), among others indicated by ellipsis. An individual reference sequence is indicated by Qt, where t∈{1, . . . , T}. A reference sequence can refer to a normal (also called most common or consensus sequence or baseline or disease free sequence) or a SNP, CNV, PAV or other known structural variation of the normal sequence. The reference sequence can be an entire genome of a subject or population of subjects, or one or more chromosomes of the genome, or one or more regions of interest, such as sequences of a fixed size on one or more chromosomes, including all contiguous bases or excluding one or more bases at particular locations, as specified by a mask of locations of no interest. The term bin will refer to each of one or more such regions of interest, in some embodiments excluding bases specified in such a mask, if any.

FIG. 1B is a block diagram that represents an example sample 120 with multiple occurrences of nucleic acids, e.g., 122 a, 122 b (collectively referenced hereinafter as nucleic acids 122) each having at least one of the reference sequences or a fragment thereof (e.g., in the case of extracellular DNA in the blood of a subject from tumors or fetal cells). There may be several occurrences of a nucleic acid with one of the reference sequences and few or no occurrences of nucleic acids with another of the reference sequences. FIG. 1C is a bar graph 130 that illustrates example relative abundance data. The horizontal axis 132 indicates the reference sequences Q_(t) {t=1, T}. The vertical axis 134 indicates relative number of nucleic acids in the sample (designated by the symbol ρ) with each reference, with a higher value indicating a greater abundance of the associated reference sequence. Graph 130 indicates that Q₁ occurs in the sample 120 with a relative abundance ρ₁ indicated by bar 136 a, and Q_(T) occurs in the sample 120 with a relative abundance ρ_(TT) indicated by bar 136 b. The abundance distribution is represented by ρ=ρ_(t), {t=1,T}.

A problem is that ρ is not measured directly during sequencing experiments, but must be inferred by a large number S of sequencing reads (simply called reads, herein), represented by the symbol q_(s) {s=1, S}, where each sequence of each read is short compared to a reference sequence Q_(t).

FIG. 1D is a block diagram that illustrates an example process to obtain reads from a sample and associate reads with reference sequences, according to an embodiment. The nucleic acids 122 in a sample are prepared for the sequencer in a wide variety of ways known in the art, often by de-naturing to release the nucleic acids, fragmentation to allow the short reads to begin sequencing from anywhere within the nucleic acid having the reference sequence, to hybridization or replication or amplification or size selection, among others, or some combination, which collectively are referenced herein as sample preparation process 140. The resulting short nucleic acids 150 are then sequenced with whatever bias or systematic variation are introduced by the sequencing process in sequencing machine 160. The reads q_(s) {s=1, S} are recorded in a data structure 162 with a field holding data that represents each read sequence, such as field 162 a for q₁ to field 162 b for q_(s), among others indicated by ellipsis.

If each read were uniquely found in one and only one reference sequence, then one of the T reference sequences Q_(t) can be associated with each read, as indicated by the data structure 180 which associates with each read q_(s) {s∈1, S} an associated reference sequence D_(s), with s∈{1, . . . , S} and where D_(s)=t with t∈{1, . . . , T}. In some embodiments, the data structure 180 also indicates the positions within the reference sequence t that are covered by the read, such as positions x to y within the reference sequence t. If a read could be associated with two or more difference reference sequences, then the read is attributed to one of them, or a fraction of the read is attributed to each of two or more of them, or the read is discarded. Then a histogram of the distribution of the D_(s) among the T references sequences could be used as an approximation of the abundance distribution ρ, or corrected for the known or inferred non-random sampling introduced by processes 140 and machine 160—corrections represented by particular values for a parameters set designated θ. The adjusted abundances are designated A_(t) and are based on the histogram counts for the associated reference sequences D_(s) and the corrections represented by values for θ.

In FIG. 1D, the read sequences data structure 162 and associated reference sequences data structure 180 reside on a processing system 170, such as computer system described below with reference to FIG. 6 or one or more chip sets as described below with reference to FIG. 7, or some combination. The associated reference sequences D_(s) are converted to adjusted abundances A_(t) and used to infer a condition of a subject that contributed the sample 120 by condition inference module 172 implemented within the processing system 170. Although processes, equipment, and data structures are depicted in FIG. 1A through FIG. 1D as integral blocks in a particular arrangement for purposes of illustration, in other embodiments one or more processes or data structures, or portions thereof, are arranged in a different manner, on the same or different hosts, in one or more databases, or are omitted, or one or more different processes or data structures are included on the same or different hosts. For example, in various embodiments, one or both of the data structures 162, 180 or all or part of module 172, or some combination, reside within one or more chip sets in the sequencing machine 160.

Thus the clinical data comprises the adjusted counts A_(t) {t=1, T) of the T reference sequences Q after correction for known systematic errors introduced by the processes 140 and machine 160. Based on the analysis of historical data or other training data, with either baseline (disease free) or known diseased conditions or known other conditions of interest, or some combination, the presence of a disease or other population differences is known to affect the count of at least one of the reference sequences, t=i but not, or much less, the counts of the other reference sequences t=k≠i. However, variation between runs or processing batches, which has nothing to do with disease state, can confound identification of disease by affecting the count A_(i).

Because the fetal or tumor fraction is so small, other confounding factors that affect the measured counts of the target are advantageously removed to form adjusted counts A, or A_(j). Several such adjustments are known in the art. Analysis is further complicated because, in order to be economically viable, samples are run in multiplex which reduces the read coverage of each sample. In the multiplexed sequencing method, DNA libraries are “tagged” with a unique identifier, or index, during sample preparation. Multiple samples are then pooled into a single lane on a flow cell and sequenced together in one Genome Analyzer run. An automated three-read sequencing strategy identifies each uniquely tagged sample for individual downstream analysis. Using this approach, sample identification is highly accurate. However, reducing read coverage results in less accurate identification of CNVs (Zhou et al 2015), which is of importance in several embodiments describe herein.

Known systems (such as those described by Lo et al 2016; Yuy et al 2013; Chen et al 2013; Zhou et al 2015; Sehnert et al 2011; Fan and Quake 2010; and inventor's own work published as international patent application publication WO 2017/079398 and as US patent publications US 2016/0335392 and as US Patent publication US2018/0089367, divide the chromosome into bins of 20-100 kilobases. Use of bins accomplishes two things: first, division into bins allows nuisance loci (such as copy number variations in the mother, and centromeres) to be easily dropped from the estimated chromosome or region of interest (ROI) scores; second, making bins of sufficient size allows a bin center (such as mean normalized coverage) called the “bin effect,” to be accurately estimated under normal conditions (null hypothesis), and corrected for. The known systems are then corrected for known effects (such as the proportion of “G” or “C” bases in the bin, called GC effect, and other locus effects) to form adjusted counts A_(t) called “bin scores” before combining bin scores to form chromosome or ROI level scores which are transformed into a Z-score or otherwise evaluated for significant deviation from null (normal) behavior. Some of the known methods also model noise in normal cases via principal components or singular value decomposition of bin covariance or correlation and removing a “noise effect”. One limitation of the above methods is that estimation of effects for GC and other factors require large sets of normal samples. This can be expensive and presents a “cold start” barrier condition for smaller laboratories hoping to start NIPD programs. A second limitation of the above methods is that correction of confounding effects at the bin level still leaves enough bin-to-bin variability to decreases accuracy of multiplex samples at smaller fetal fractions.

As described here, additional adjustments are made to reduce the effects of count bias, which is often about an order of magnitude larger than the condition of interest, especially for fetal or tumor or other small fraction signals. The approach presented here provides a fine grained correction (small numbers of bases compared to bin size) for count bias based on locus associated with each fragment or read, rather than on the position and bases of the entire bin. In embodiments using extra-cellular DNA fragments, the system also corrects for the bias in the natural formation of such fragments, e.g. from the tumor or fetal DNA, before or after introduction into the bloodstream of the subject. In the system of FIG. 1D, the new approach is implemented as a fine-grained expected occurrence module 176 in the condition inference module 172.

As an example of count bias, consider the data presented in Ross, 2012. FIG. 2 is a graph that illustrates example coverage variations along a reference sequence to be corrected, according to an embodiment. The horizontal axis indicates each base position in a 2000 base portion of the genome, and the vertical axis indicates the number of times the locus is covered by one of the reads. Sufficient reads were collected to cover every base location 198 times, called a 198× whole-genome shotgun data set. As depicted in the graph, over 100 bases of this 2,000 base region were uncovered, very few of the base locations were covered by even half of the 192×, while the coverage of other basses varied by two orders of magnitude. Relative abundance of regions of interest would have to be averaged over many kilobase positions to hope to average out this kind of variability. Thus bins are often defined with sizes on the order of many kilobases.

However, the kind of variability depicted in FIG. 2 is not completely random. Much of the variability is explained by the base content of the uncovered and under-covered sections. It is known that percent of G and C bases is related to the under-coverage; for example, under-coverage of loci windows including a low GC content (less than 25% of locus positions in windows of 100 locus positions) or high CG content (over 75% of locus positions in windows of 100 locus positions).

Another kind of variability has observable position (loci) contributions including some substantial periodic components. FIG. 3 is a graph that illustrates example coverage variations along a reference sequence due to nucleo some periodicity to be corrected, according to an embodiment. FIG. 3 shows the alignment start positions of sequences generated from cfDNA in Human plasma. The x-axis corresponds to base position on a chromosome (in units ranging in this example from position 1 to 2000) and the y-axis is the number of sequences with alignment starting at that position (in units ranging this example from 1 to 8). The occurrence of alignments is not uniform but, rather, has a periodicity of approximately 160 bases, which corresponds to the length of nucleosomes. Typically the regions of higher coverage correspond to DNA in the linker region between nucleosomes and the lower coverage parts correspond to sections wound around the nucleosome core.

Other groups of experts skilled in the art have used nucleosome profiling in liquid biopsy and non-invasive prenatal diagnostics for determination of fetal fraction but none have managed to apply nucleosome periodicity to the reduction of noise in liquid biopsy. For example, Strayer et al 2016 constructed a canonical nucleosome profile for a sample and used the fact that sequences aligning to the lower coverage nucleosome regions tend to be fetal in origin to estimate fetal fraction in NIPS. Here we account for bias in coverage for a different purpose, to reduce noise and increase accuracy of NIPS and CNV identification in liquid biopsy data.

FIG. 4 is a flow chart that illustrates an example method 400 to estimate and correct for count bias based on content at each locus of interest, according to an embodiment. The method 400 can be used to discover or utilize any content based count bias on any scale, including very fine scale and locus specific biases. For example, the bias could be discovered and corrected due to repeats of individual bases or base pairs, such as AT base pair repeats, or other patterns of base content, and even combinations of several different content-based bias effects. Thus the method corrects for base content effects at the individual base level. The method can be run at the individual sample level so that large numbers of samples are not needed to apply the method. The method corrects for biases even if the bias is invisible at the bin level. The method can be used by itself to detect low fetal fraction CNVs or as a pre-processing variance reduction step for existing bin level CNV NIPD systems. Although steps are depicted in FIG. 4 as integral steps in a particular order for purposes of illustration, in other embodiments, one or more steps, or portions thereof, are performed in a different order, or overlapping in time, in series or in parallel, or are omitted, or one or more additional steps are added, or the method is changed in some combination of ways.

In this description, the following terms and definitions are employed. |X| is the cardinality of a set X. |X| is equal to the number of elements in the set X. The cardinality of a set is also called the size of the set. When F is a function and X is a set, |F(X)| is the number of unique values that F can attain when applied to members of the set X. X \Y is the set of elements that remain when members of set X that are also members of set Y are removed and the operation is referred to as set subtraction. The expression pr(a|b) indicates the probability of condition a, given condition b. The expression E(a|b) indicates the expected value of variable a, given condition b. A partition P of a set X is a grouping into subsets so that each element of X is in one and only one subset. The partition P is essentially a function of X, and has cardinality |P|. The subsets used to define a partition P are called partition subsets; and, each partition subset of P is designated by the index k, k∈{1, . . . , |P|}. Stratification of a set X means defining a partition and assigning each element of set X into a partition subset. The stratum of an element of the set X is the partition subset to which the element belongs.

The method 400 partitions the genome of a species into non-contiguous subsets based on nucleotide (base) content in small windows relative to each position in the genome, because count bias at each position is expected to be related to base content in the vicinity of that position. The method allows the base content and the vicinity to be varied to discover or correct for, or both, one or more count biases affected by base content. The window size is small compared to the bin sizes and the resolution of the method can be finer than even the window size, as fine as each locus, by using overlapping windows.

With respect to partitioning the genome of a species, the following terms and definitions are employed. Base positions in the genome are called “positions” or “loci” and are indexed by the variable j where j∈{1, . . . , N}, where N is the number of loci in the genome of the species. In humans N is about three billion. To simplify the computations, it is often advantageous to exclude loci of no interest or confounding effect. This is done with a mask M. M is a mask of genomic positions that are excluded from all analysis and may be considered to be applied at the level of defining the target sequence. M may be considered an array or a set depending on context. Masks are often designed to cover features, such as centromeres, that confound analysis because their composition diverges greatly from the rest of the genome. M is indexed by locus position j; when M(j)=0 the position j is removed or excluded from analysis; otherwise M(j)=1.

The Partition P is based on the nucleotide content in a window R of a given size; and, if several partitioning schemes are under consideration, the different partitions are designated by different values of the index i, i∈{1, . . . , I}, where I indicates the number of partitioning schemes. Given a genomic locus, j, par_i(j) is the index of the strata (partition element, k) of a single partition Pi to which position j belongs, par_i(j)∈{1, . . . , |Pi|}. When a single partitioning scheme is considered, the symbols are simplified to partition P and stratum par(j).

In step 401, a target sequence (target) is determined. The target includes one or more reference sequences, t, called bins, each bin covering a range of loci but, in some embodiments, excluding loci in a mask M. The number of bins is indicated by T, e.g., in data structure 110. The bins are selected because relative abundance of bins is indicative of a condition of interest (e.g., disease, a tumor, or a special class of cells). Each bin may encompass one or more chromosomes of a species, or portions thereof. Bin sizes are large, on the order of thousands to millions of loci. Any method may be used to determine the target, including obtaining the target from known sources, or receiving manual input of bin loci ranges or masks or both, or automatically retrieving such sequences, ranges or masks or all from storage, or receiving such sequences or ranges or masks or all from a remote computer across a network, either unsolicited or in response to a query.

FIG. 5 is a block diagram that illustrates example data structures produced during each of several steps described in FIG. 4, according to an embodiment. In FIG. 5, the input reference genome (target) data 510 is provided during step 401. In some embodiments, the target 510 is stored, locally or remotely, as described by data structure 110 in FIG. 1A.

Returning to FIG. 4, in step 403, reads of fragments in a clinical sample from a subject are collected, sequenced and aligned and a raw count of alignments that start at each locus, or at some fixed offset from each locus, on each strand are determined. Any method may be used that provides a sample that has been sequenced and aligned to a reference genome.

In some embodiments, given a large number of samples, an automated process iterates through the alignments and catalogs which positions are never covered. The positions never covered are added to the mask, M.

If there are S total reads, then there are S loci associated with the start of each aligned read; and, if the reads average L bases in length, then there are L*S bases covered. The number of reads that start at each locus j, or at some fixed offset from each locus j, is designated H(j). Note that there are forward and reverse start locations, corresponding to a forward strand and a reverse (complementary) strand. Hforward, Hf, is an array of numbers, one per locus of the forward strand. Hf(j) is the number of alignments from the sample which start at base j (or start as some fixed offset from j) on the forward strand. If strand specific partition levels are defined then Hreverse, Hr, is defined as the number of alignments from the sample which start at base j on the reverse (complementary) strand. When only one strand is read, the symbols are simplified to H(j).

In FIG. 5, the input aligned sample reads data 580 is provided during step 403. In some embodiments, the aligned sample reads data 580 is provided as described by data structure 180 in FIG. 1D, each associated reference data element 180 indicating a start locus and direction or loci range associated with each read. The number of reads that start at each locus are determined in step 403 and stored in the array H(j), or Hforward(j) and Hreverse(j). FIG. 5 depicts the two arrays Hforward and Hreverse as data structures 503 a and 503 b, respectively. FIG. 5 also depicts data fields in each data structure for locus (base position) 1 through locus N, and labels individual fields by the abbreviations Hf(1), Hf(2) and Hf(N) for the array members of Hforward, and by the abbreviations Hr(1), Hr(2) and Hr(N) for the array members of Hreverse. These data structures may be in either fast volatile memory or in permanent memory of some sort, or some combination, as described in the section below on computational hardware.

Returning to FIG. 4, in step 411, the next Pi of one or more partitions is defined. A partition definition is data that indicates a window size and the window location relative to an arbitrary locus in the target sequence, and multiple strata for the locus based on nucleotide base content in the window. The set of nucleotide bases in a window is indicated by the symbol R. For example, in various embodiments, a partition based on the data of FIG. 3A through FIG. 3C could be defined by a window R of size 100 loci, either centered on or starting at the locus to which the partition is applied. The strata could be defined by 5% steps in percent GC content in the window R. Different count biases are expected in different strata. Thus step 411 determines next candidate partition based on window position relative to current locus and on window size—wherein base content in the window R is expected to be related to relative abundance bias at the locus for a certain measurement/processing system. In some embodiments, partitions are known but quantitative effects of the partitions are not known. In some embodiments, a favorable partition is not known, so an arbitrary partition or a random partition or a suggested partition is tried and, based on the results as described below, the partition is adopted or given a high or low probability.

In FIG. 5, step 411 is depicted as producing data structure 511 for a partition, which is a function of the set of target sequence loci. Based on the nucleotide base content in the vicinity of the locus, the locus is assigned to one of the strata. In some embodiments, the partition is a data structure holding the window size and relative location compared to the locus, an expression that indicates the function of the nucleotide content in the window, and a table that lists function value ranges that belong to, or threshold values that separate, each of |PI different strata. In some embodiments, the partition definition is a data structure that holds just the window definition and a functional form, e.g., an integer function of a property of the nucleotide base content in the window, such as the integer floor of the % GC content or the number of contiguous repeats of an AT nucleotide base sequence. The integer floor of an argument is the largest integer less than or equal to the argument. The integer output of an integer function indicates the stratum k (e.g., par_i(j)) for the locus j in that particular partition Pi.

Returning to FIG. 4, in step 413, each locus of the target sequence is assigned to a stratum, k, of partition Pi. In FIG. 5, this is depicted for a single partition, P, by the value of par(j) for the loci j from 1 through N in data structure 513. Three fields in the data structure 513 are labeled by the elements of the array par(j) corresponding to those fields, including the first two fields, par(1) and par(2) and the last field, par(N). By doing so, each count in the arrays 503 a and 503 b is also associated with a stratum of the partition P; because each count Hf(j) and Hr(j) is associated with locus j which by data structure 513 is associated with Par(j).

Returning to FIG. 4, in step 415, the deviation in count due to bias, (also called expected count hereinafter) is determined for each stratum, k, of partition Pi. The count for each stratum, if every locus were equally represented at the start of a read, would be proportional to the number of loci j that belong to each stratum k. Letting K represent the set of forward genomic positions where par(j)=k, the number of loci j that belong to the stratum k is represented by the symbol |K|. If the mask is not necessarily applied at the definition of the target sequence, then it can be applied here and represented by the symbol |K\M|. However, due to count bias in a particular measurement and processing system, the occurrence of counts in the sample for different strata do not follow the value of |K\M| for different strata. This deviation affects the expected counts for each stratum for that particular measurement system for the species. The actual counts observed in the sample depend on the bias and are obtained by summing all values of H(j) for all the loci j that belong to each stratum k, represented by the symbol.

$\sum\limits_{{{par}{(j)}} = k}{H(j)}$

Allowing for separate counts for forward and reverse reads, and defining K′ as the set of reverse positions where par(j)=k, and M′ as the mask in the reverse direction, then the expected count E(count) for one stratum k, E(count|k), is a function F1 of Hf(j), Hr(j), |K\M| and |K′\M′| for all j in the stratum, as given by Equation 1.

E(count|k)=F1[|K\M|,|K′\M′|,Σp _(ar(j)=k) Hf(j)+Hr(j)]  (1)

Any function that measures the deviation of the sum from the size of the two sets based on the target sequence can be used to express the expected count and show the variation of that deviation among different strata k. For example, in an illustrated embodiment, the observed counts are normalized by the counts in the target, and Equation 2 is used.

$\begin{matrix} {{E\left( {count} \middle| k \right)} = \frac{\left\lbrack {\sum_{{{par}{(j)}} = k}\left\{ {{{Hf}(j)} + {{Hr}(j)}} \right\}} \right\rbrack}{\left\lbrack {{{K\backslash M}} + {{K^{\prime}\backslash M^{\prime}}}} \right\rbrack}} & (2) \end{matrix}$

In some embodiments, the deviation is expressed as a difference, and Equation 3 is used.

E(count|k)=Σ_(par(j)=k)[Hf(j)Hr(j)]−|K\M|−|K′\M′|  (3)

In some embodiments, M′ is identical to M. When strand specific partitions are not used, Hr and |K′\M′| terms are omitted in both equations 1 and 2.

Thus, step 415 determines the expected count due to bias based on: the raw counts H(j) of each locus j belonging to that stratum, k, in sample; and, the total number, k, of loci belonging to that stratum, k, in the target for each strand. The result of step 415 is an estimate of the variation of count with partition due to natural/measurement/processing system count bias.

In FIG. 5, step 415 is shown as using the target strata data in data structure 513 and the counts at each locus in forward and reverse reads in data structures 503 a and 503 b, respectively, to produce expected count data in data structure 515. Each data field in data structure 515 indicates the expected count (e.g., determined by Equation 1, Equation 2 or Equation 3) for one stratum. Labels “E(strata 1),” “E(Strata 2)” and “E(Strata |P|)” are inserted to indicate the fields holding data that indicates the expected counts E(count|1), E(count|2) and E(count∥Pi|), respectively, in the first two and the last strata of the partition. Recall that the expected count is a measure of the deviation in count from the target strata due to count bias.

Returning to FIG. 4, in step 417, the expected counts in each stratum, E(count|k) is used to correct the counts based on the H(j) for each of T target sequence bins in the region of interest (ROI). Thus the raw counts and deviations due to bias are used to generate adjusted bin counts At. These adjustments are based on much finer scale bias determinations, as fine as one per locus in bin, than has been performed to our knowledge before this. A copy number estimate per bin b, EstCN(b) is determined as a function F2 of the counts at the loci in the bin, expressed as H(j) for j in bin b, and the deviations given by the expected counts for those loci, as given by Equation 4.

EstCN(t)=F2[Σ_(all j in t) H(j),Σ_(all j in t) E(count|par(j))]  (4)

In some embodiments, the differences due to biases are used by subtracting those differences from the term Σ_(all j in t) H(j). In some embodiments, EstCN can be scaled to have nominal (normal) copy number equal to 2, corresponding to the actual number of copies in diploid organisms, or 1 or some other value for purely relative abundances. For example, in an illustrated embodiment defining expected count using Equation 2, the expected count is divided by the actual count as given in equation 5.

$\begin{matrix} {{{EstCN}(t)} = \frac{\sum_{{all}\mspace{14mu} j\mspace{14mu} i\; n\mspace{14mu} t}{H(j)}}{\sum_{{all}\mspace{14mu} j\mspace{14mu} i\; n\mspace{14mu} t}{E\left( {count} \middle| {{par}(j)} \right)}}} & (5) \end{matrix}$

In some embodiments, EstCN is formulated with pseudo counts e (on the order of 1) to control variance at small values by adding a constant e, to both numerator and denominator, as in Equation 6.

$\begin{matrix} {{{EstCN}(t)} = \frac{\left\lbrack {e + {\sum_{{all}\mspace{14mu} j\mspace{14mu} i\; n\mspace{14mu} t}{H(j)}}} \right\rbrack}{\left\lbrack {e + {\sum_{{all}\mspace{14mu} j\mspace{14mu} i\; n\mspace{14mu} t}{E\left( {count} \middle| {{par}(j)} \right)}}} \right\rbrack}} & (6) \end{matrix}$

In FIG. 5, step 417 is shown as using the target strata data in data structure 513 and the expected counts in each stratum to determine the expected counts at each locus in data structure 517. Three fields in the data structure 517 are labeled by the elements of an array of expected counts at each locus j, E(count|j), represented in FIG. 5 as E(base j) corresponding to those fields, including the first two fields, E(base 1) and E(base 2), and the last field, E(N). Step 417 also combines the raw counts at each locus in forward and reverse reads in data structures 503 a and 503 b, respectively, and the expected counts at each locus in data structure 517 to produce estimated copy number in each bin, EstCN(t), data in data structure 520. Each data field in data structure 520 indicates the estimated copy number (e.g., determined by Equation 4, Equation 5 or Equation 6) for one bin. Labels “CN(bin 1),” and “CN(bin B)” are inserted to indicate the fields holding data that indicates the estimated copy numbers EstCN(1) and EstCN(T) in the first and the last bin of the regions of interest (ROI).

In some embodiments, a single partitioning scheme P is not used. Instead multiple partitioning schemes, called partitions, are used. In some embodiments, multiple partitions are used because there are several biases operating simultaneously, e.g., the % GC bias accounts for much of the count biases but count bias is also introduced by other lesser effects, such as number of repeats of AT sequences, contiguous or otherwise, in a window. In the example embodiment, a partition is added for the observed periodicity, such as depicted in FIG. 3.

Returning to FIG. 4, in step 419, the estimated copy number is weighted by the probability of the partition used to generate the estimate. When probability is used, the sum of the probabilities of all the partitions combined is 1. When there is only one partition being used, the weight is 1. The weight or probability for each partition can be obtained in any manner. In various embodiments, the weights are determined manually or are retrieved form one or more data structures, as described above in step 401 for the target reference data. In some embodiments, step 419 includes determining the weight or probability of the partition by computations as suggested below based on data in one or more data structures.

In our previous patents, weighted counts are sometimes used instead of H(j) and E(count|par(j)) to increase signal with respect to noise by giving more importance to fragments or sequences that are more likely to be from the minority entity (for example, in NIPS, of fetal origin). The expected count for a base position was estimated by partitioning genomic positions into groups or strata by factors that significantly bias coverage (example: proportion GC, melting temperature, entropy, etc. . . . ). Some of our previous methods also used machine learning or unsupervised classification to group genomic loci into clusters or sets of similar response which improved bias correction.

In previous work the expected count at a base position was calculated assuming that the expected reads for every position in a stratum, call it k, occurred with equal probability, as given by Equation 2, above. In Equation 2, j is a chromosomal or genomic position, par(j)=k is a partition function assigning genomic positions to strata, |K/M| was the number of non excluded positions in the genome assigned to GC level k, K is the set of j where par(j)=K and M is the set of positions excluded from analysis. In this example embodiment, choosing local genomic GC content as the partition function, a base position is of GC level k if the proportion of bases of “c” or “g” in a window of fixed size off set a fixed number of bases from j is or is close to k.

In that previous work, the expected count was constructed by assuming that every genomic position in a stratum (for example, a stratum may represent base positions with similar local genomic GC content) occurred with uniform probability; however, in reality, this is not the case, as illustrated in FIG. 3.

Thus, in the current work, a similar single base resolution normalization is used to account for the non-uniformity in mapping seen in the figure above. Casting this idea in formulas similar to our previous patents, an example method of determining expected count would be given by Equation 7.

$\begin{matrix} {{E\left( {{count}\mspace{14mu} {at}\mspace{14mu} {base}\mspace{14mu} {position}\mspace{14mu} j} \right)} = {{E\left( {{count}\mspace{14mu} {at}\mspace{14mu} {base}\mspace{14mu} {position}\mspace{20mu} j} \middle| {{strata}\mspace{14mu} k} \right)} = \frac{{nc}_{j}{\sum_{i \in {\{{{sequences}\mspace{14mu} {aligning}\mspace{14mu} {to}\mspace{14mu} {positions}\mspace{14mu} {assigned}\mspace{14mu} {to}\mspace{14mu} {strata}\mspace{14mu} k}\}}}w_{i}}}{\sum_{l \in {\{{{genomic}\mspace{14mu} {positions}\mspace{14mu} {assigned}\mspace{14mu} {to}\mspace{14mu} {the}\mspace{14mu} {stratum}\mspace{14mu} {of}\mspace{14mu} {position}\mspace{14mu} j}\}}}{nc}_{l}}}} & (7) \end{matrix}$

where w_(i) is a weight assigned to sequence i and nc_(j) is the nucleosome biased coverage of genomic position j as shown in the FIG. 3. Thus ncj is used as a weight for the correction otherwise applied at position j. As in previous work, if no special weights are assigned to fragments or sequences then w_(i)=1 for all sequences i.

The actual (possibly weighted) observed occurrence at position j is then given by Equation 8.

C(base positionj)=Σ_(i∈{all sequences aligning to base position j}) W _(i)  (8)

As before, for brevity, without loss of generality, we consider only the forward strand and use GC proportion as the partition function.

Copy number estimates for larger bins or regions of interest (ROIS) can be formed by summing the individual positions, as given in Equation 9.

$\begin{matrix} {{EstCN}_{roi} = \frac{{\sum_{j\mspace{14mu} i\; n\mspace{14mu} {ROI}}{C\left( {{count}\mspace{14mu} {at}\mspace{14mu} {base}\mspace{14mu} {position}\mspace{14mu} j} \right)}} + e}{{\sum_{j\mspace{14mu} i\; n\mspace{14mu} {ROI}}{E\left( {{count}\mspace{14mu} {at}\mspace{14mu} {base}\mspace{14mu} {position}\mspace{14mu} j} \right)}} + e}} & (9) \end{matrix}$

where e is a small pseudo count to assist with numerical stability. FIG. 6 and FIG. 7 below demonstrate variance reduction from this method.

The above method extends our past copy number estimation and aneuploidy detection methods by accounting for the periodic or other non-uniform biases in coverage caused by nucleosome protection of sequence and other, possibly non-periodic, biological phenomena or artifacts of the sequencing or library preparation process. These biases are manifest as the periodicity observed in FIG. 3 and are represented by the “nc” term in the formulas above. We index these biases by genomic position and call them “Nucleosome Coverage Profiles” or “Nucleosome Profiles” even though they may summarize other sources of bias such as sequence-ability or align-ability artifact due to repetitive genomic regions, errors or limitations of the methods being used to align generated sequences to a reference genome or other features.

These nucleosome profiles may be estimated from samples distinct from the subject under study. For example they can be estimated from groups of healthy controls or can be obtained by deep sequencing of a single individual, possibly sequenced in the same batch as the subject to account for batch effects.

Alternatively, they could be estimated from the subject under study or by weighted combination of the study subject with a known population of nucleosome biases. While coverage of the subject under study may be too shallow to directly calculate a reliable coverage profile (coverage less than 1.0× are not uncommon), the large number of low coverage data points can be analyzed by spectral, time series, or similar analysis of coverage at all genomic positions of the subject under study. For example, defining raw sequence coverage as C_(j)=the number of sequences generated from the sample with alignment starting at chromosomal base position j, Cj can be expressed as given by Equation 10.

Cj=Sj+Tj+Lj  (10)

Where S represents the periodic component of coverage (here known to be approximately 166 bases to correspond to the 144 base length of the nucleosome core particle, NCP, and allowing 2-22 bases of linker region between NCPs).

In some embodiments, one or more desirable partitions are not known, and various trial partitions are employed. In some of these embodiments using multiple partitions, the estimated copy number from several different partitions are combined, with the contribution from each partition weighted such that the sum of the weights is a known constant, such as 1. In some of these embodiments, the weight applied to each estimated copy number is the probability of that partition or the percent of the total bias explained by that partition.

In some embodiments, the determination of expected counts due to bias can be used to discover meaningful partitions. In these embodiments, the weight or probability for the partition is based on the behavior of the expected counts with changes in strata. If the partition meaningfully reflects measurement bias, then the expected counts should vary smoothly between adjacent strata, as depicted in FIG. 3A through FIG. 3C if strata were defined by 5% bins of % GC content. In some embodiments, the results from a particular partition are compared to the known copy numbers of strands in a training set, and partitions that give good results compared to the training seta are given higher probability than partitions that do not.

In step 421, it is determined whether there is another partitioning scheme to use. If so, control passes back to step 411 and following steps to determine the next partitioning scheme and use it. If not, control passes to step 423.

In step 423, it is determined whether the estimated copy number indicates the presence of a non-normal state. In some embodiments, this determination is based on further processing of the estimated copy numbers, e.g., in a statistical model of the conditions being searched for.

If it is determined in step 423 that the presence of a non-normal state is not indicated, then in step 431 it is determined that the conditions of interest likely has not occurred in the subject. In step 433 the subject is treated as if the condition has not occurred. For example, the information is presented on a display and conveyed to the subject.

If, however, it is determined in step 423 that the presence of a non-normal state is indicated, then in step 441 it is determined that the conditions of interest likely has indeed occurred in the subject. In step 443, the condition of interest is treated by any method known for the condition of interest. For example, the information is presented on a display and conveyed to the subject, and a treatment plan is presented, or the treatment is begun, or some combination.

Using the method 400, a small amount of extracellular DNA indicative of the condition of interest can be detected in a sample with much DNA not indicative of such a condition. Both the sensitivity and accuracy are improved, as will be demonstrated in the following particular embodiments.

2. EXAMPLE EMBODIMENTS

FIG. 6 is a graph that illustrates example corrected bin scores for a single sample over human chromosome 1, according to an embodiment. The horizontal axis indicates position on chromosome 1 ranging from 0 to 300 million. In this diagram bases are binned into non-overlapping groups of adjacent 100 kilobases The vertical axis indicates the bin score ranging from 0 to 1000. The original bin scores are indicated by the trace of diamond shaped points and the corrected bin scores are represented by the trace of square shaped points. The corrected bin scores lie predominately between 550 and 650, while the uncorrected bin scores have much larger scatter.

FIG. 7 is a graph that illustrates example expected bin counts for a single sample over human chromosome 1, according to an embodiment. The horizontal axis indicates the observed count and the vertical axis indicates the expected count.

These embodiments demonstrate a system and method for non-invasive diagnosis of DNA signals in a sample which corrects for GC and other factors at the individual base level. This method can be run at the individual sample level so that large numbers of samples are not needed to apply the method. In addition, this method corrects for biases invisible at the bin level. The method can be used by itself to detect low fetal fraction CNVs or as a pre-processing variance reduction step for existing bin level CNV NIPD systems, among others.

3. COMPUTATIONAL HARDWARE OVERVIEW

FIG. 8 is a block diagram that illustrates a computer system 800 upon which an embodiment of the invention may be implemented. Computer system 800 includes a communication mechanism such as a bus 810 for passing information between other internal and external components of the computer system 800. Information is represented as physical signals of a measurable phenomenon, typically electric voltages, but including, in other embodiments, such phenomena as magnetic, electromagnetic, pressure, chemical, molecular atomic and quantum interactions. For example, north and south magnetic fields, or a zero and non-zero electric voltage, represent two states (0, 1) of a binary digit (bit).). Other phenomena can represent digits of a higher base. A superposition of multiple simultaneous quantum states before measurement represents a quantum bit (qubit). A sequence of one or more digits constitutes digital data that is used to represent a number or code for a character. In some embodiments, information called analog data is represented by a near continuum of measurable values within a particular range. Computer system 800, or a portion thereof, constitutes a means for performing one or more steps of one or more methods described herein.

A sequence of binary digits constitutes digital data that is used to represent a number or code for a character. A bus 810 includes many parallel conductors of information so that information is transferred quickly among devices coupled to the bus 810. One or more processors 802 for processing information are coupled with the bus 810. A processor 802 performs a set of operations on information. The set of operations include bringing information in from the bus 810 and placing information on the bus 810. The set of operations also typically include comparing two or more units of information, shifting positions of units of information, and combining two or more units of information, such as by addition or multiplication. A sequence of operations to be executed by the processor 802 constitutes computer instructions.

Computer system 800 also includes a memory 804 coupled to bus 810. The memory 804, such as a random access memory (RAM) or other dynamic storage device, stores information including computer instructions. Dynamic memory allows information stored therein to be changed by the computer system 800. RAM allows a unit of information stored at a location called a memory address to be stored and retrieved independently of information at neighboring addresses. The memory 804 is also used by the processor 802 to store temporary values during execution of computer instructions. The computer system 800 also includes a read only memory (ROM) 806 or other static storage device coupled to the bus 810 for storing static information, including instructions, that is not changed by the computer system 800. Also coupled to bus 810 is a non-volatile (persistent) storage device 808, such as a magnetic disk or optical disk, for storing information, including instructions, that persists even when the computer system 800 is turned off or otherwise loses power.

Information, including instructions, is provided to the bus 810 for use by the processor from an external input device 812, such as a keyboard containing alphanumeric keys operated by a human user, or a sensor. A sensor detects conditions in its vicinity and transforms those detections into signals compatible with the signals used to represent information in computer system 800. Other external devices coupled to bus 810, used primarily for interacting with humans, include a display device 814, such as a cathode ray tube (CRT) or a liquid crystal display (LCD), for presenting images, and a pointing device 816, such as a mouse or a trackball or cursor direction keys, for controlling a position of a small cursor image presented on the display 814 and issuing commands associated with graphical elements presented on the display 814.

In the illustrated embodiment, special purpose hardware, such as an application specific integrated circuit (IC) 820, is coupled to bus 810. The special purpose hardware is configured to perform operations not performed by processor 802 quickly enough for special purposes. Examples of application specific ICs include graphics accelerator cards for generating images for display 814, cryptographic boards for encrypting and decrypting messages sent over a network, speech recognition, and interfaces to special external devices, such as robotic arms and medical scanning equipment that repeatedly perform some complex sequence of operations that are more efficiently implemented in hardware.

Computer system 800 also includes one or more instances of a communications interface 870 coupled to bus 810. Communication interface 870 provides a two-way communication coupling to a variety of external devices that operate with their own processors, such as printers, scanners and external disks. In general the coupling is with a network link 878 that is connected to a local network 880 to which a variety of external devices with their own processors are connected. For example, communication interface 870 may be a parallel port or a serial port or a universal serial bus (USB) port on a personal computer. In some embodiments, communications interface 870 is an integrated services digital network (ISDN) card or a digital subscriber line (DSL) card or a telephone modem that provides an information communication connection to a corresponding type of telephone line. In some embodiments, a communication interface 870 is a cable modem that converts signals on bus 810 into signals for a communication connection over a coaxial cable or into optical signals for a communication connection over a fiber optic cable. As another example, communications interface 870 may be a local area network (LAN) card to provide a data communication connection to a compatible LAN, such as Ethernet. Wireless links may also be implemented. Carrier waves, such as acoustic waves and electromagnetic waves, including radio, optical and infrared waves travel through space without wires or cables. Signals include man-made variations in amplitude, frequency, phase, polarization or other physical properties of carrier waves. For wireless links, the communications interface 870 sends and receives electrical, acoustic or electromagnetic signals, including infrared and optical signals that carry information streams, such as digital data.

The term computer-readable medium is used herein to refer to any medium that participates in providing information to processor 802, including instructions for execution. Such a medium may take many forms, including, but not limited to, non-volatile media, volatile media and transmission media. Non-volatile media include, for example, optical or magnetic disks, such as storage device 808. Volatile media include, for example, dynamic memory 804. Transmission media include, for example, coaxial cables, copper wire, fiber optic cables, and waves that travel through space without wires or cables, such as acoustic waves and electromagnetic waves, including radio, optical and infrared waves. The term computer-readable storage medium is used herein to refer to any medium that participates in providing information to processor 802, except for transmission media.

Common forms of computer-readable media include, for example, a floppy disk, a flexible disk, a hard disk, a magnetic tape, or any other magnetic medium, a compact disk ROM (CD-ROM), a digital video disk (DVD) or any other optical medium, punch cards, paper tape, or any other physical medium with patterns of holes, a RAM, a programmable ROM (PROM), an erasable PROM (EPROM), a FLASH-EPROM, or any other memory chip or cartridge, a carrier wave, or any other medium from which a computer can read. The term non-transitory computer-readable storage medium is used herein to refer to any medium that participates in providing information to processor 802, except for carrier waves and other signals.

Logic encoded in one or more tangible media includes one or both of processor instructions on a computer-readable storage media and special purpose hardware, such as ASIC 820.

Network link 878 typically provides information communication through one or more networks to other devices that use or process the information. For example, network link 878 may provide a connection through local network 880 to a host computer 882 or to equipment 884 operated by an Internet Service Provider (ISP). ISP equipment 884 in turn provides data communication services through the public, world-wide packet-switching communication network of networks now commonly referred to as the Internet 890. A computer called a server 892 connected to the Internet provides a service in response to information received over the Internet. For example, server 892 provides information representing video data for presentation at display 814.

The invention is related to the use of computer system 800 for implementing the techniques described herein. According to one embodiment of the invention, those techniques are performed by computer system 800 in response to processor 802 executing one or more sequences of one or more instructions contained in memory 804. Such instructions, also called software and program code, may be read into memory 804 from another computer-readable medium such as storage device 808. Execution of the sequences of instructions contained in memory 804 causes processor 802 to perform the method steps described herein. In alternative embodiments, hardware, such as application specific integrated circuit 820, may be used in place of or in combination with software to implement the invention. Thus, embodiments of the invention are not limited to any specific combination of hardware and software.

The signals transmitted over network link 878 and other networks through communications interface 870, carry information to and from computer system 800. Computer system 800 can send and receive information, including program code, through the networks 880, 890 among others, through network link 878 and communications interface 870. In an example using the Internet 890, a server 892 transmits program code for a particular application, requested by a message sent from computer 800, through Internet 890, ISP equipment 884, local network 880 and communications interface 870. The received code may be executed by processor 802 as it is received, or may be stored in storage device 808 or other non-volatile storage for later execution, or both. In this manner, computer system 800 may obtain application program code in the form of a signal on a carrier wave.

Various forms of computer readable media may be involved in carrying one or more sequence of instructions or data or both to processor 802 for execution. For example, instructions and data may initially be carried on a magnetic disk of a remote computer such as host 882. The remote computer loads the instructions and data into its dynamic memory and sends the instructions and data over a telephone line using a modem. A modem local to the computer system 800 receives the instructions and data on a telephone line and uses an infra-red transmitter to convert the instructions and data to a signal on an infra-red a carrier wave serving as the network link 878. An infrared detector serving as communications interface 870 receives the instructions and data carried in the infrared signal and places information representing the instructions and data onto bus 810. Bus 810 carries the information to memory 804 from which processor 802 retrieves and executes the instructions using some of the data sent with the instructions. The instructions and data received in memory 804 may optionally be stored on storage device 808, either before or after execution by the processor 802.

FIG. 9 illustrates a chip set 900 upon which an embodiment of the invention may be implemented. Chip set 900 is programmed to perform one or more steps of a method described herein and includes, for instance, the processor and memory components described with respect to FIG. 8 incorporated in one or more physical packages (e.g., chips). By way of example, a physical package includes an arrangement of one or more materials, components, and/or wires on a structural assembly (e.g., a baseboard) to provide one or more characteristics such as physical strength, conservation of size, and/or limitation of electrical interaction. It is contemplated that in certain embodiments the chip set can be implemented in a single chip. Chip set 900, or a portion thereof, constitutes a means for performing one or more steps of a method described herein.

In one embodiment, the chip set 900 includes a communication mechanism such as a bus 901 for passing information among the components of the chip set 900. A processor 903 has connectivity to the bus 901 to execute instructions and process information stored in, for example, a memory 905. The processor 903 may include one or more processing cores with each core configured to perform independently. A multi-core processor enables multiprocessing within a single physical package. Examples of a multi-core processor include two, four, eight, or greater numbers of processing cores. Alternatively or in addition, the processor 903 may include one or more microprocessors configured in tandem via the bus 901 to enable independent execution of instructions, pipelining, and multithreading. The processor 903 may also be accompanied with one or more specialized components to perform certain processing functions and tasks such as one or more digital signal processors (DSP) 907, or one or more application-specific integrated circuits (ASIC) 909. A DSP 907 typically is configured to process real-world signals (e.g., sound) in real time independently of the processor 903. Similarly, an ASIC 909 can be configured to performed specialized functions not easily performed by a general purposed processor. Other specialized components to aid in performing the inventive functions described herein include one or more field programmable gate arrays (FPGA) (not shown), one or more controllers (not shown), or one or more other special-purpose computer chips.

The processor 903 and accompanying components have connectivity to the memory 905 via the bus 901. The memory 905 includes both dynamic memory (e.g., RAM, magnetic disk, writable optical disk, etc.) and static memory (e.g., ROM, CD-ROM, etc.) for storing executable instructions that when executed perform one or more steps of a method described herein. The memory 905 also stores the data associated with or generated by the execution of one or more steps of the methods described herein.

4. ALTERATIONS, EXTENSIONS AND MODIFICATIONS

In the foregoing specification, the invention has been described with reference to specific embodiments thereof. It will, however, be evident that various modifications and changes may be made thereto without departing from the broader spirit and scope of the invention. The specification and drawings are, accordingly, to be regarded in an illustrative rather than a restrictive sense. Throughout this specification and the claims, unless the context requires otherwise, the word “comprise” and its variations, such as “comprises” and “comprising,” will be understood to imply the inclusion of a stated item, element or step or group of items, elements or steps but not the exclusion of any other item, element or step or group of items, elements or steps. Furthermore, the indefinite article “a” or “an” is meant to indicate one or more of the item, element or step modified by the article.

4. REFERENCES

All references cited herein are hereby incorporated by reference in their entirety as if fully set for the herein, except for terminology that is inconsistent with that used herein.

-   Chen, S., et al. “A method for noninvasive detection of fetal large     deletions/duplications by low coverage massively parallel     sequencing,” Prenatal Diagnosis, 2013, Page(s): 584-590, Vol. 33 -   Fan, H. C., et al., “Sensitivity of Noninvasive Prenatal Detection     of Fetal Aneuploidy from Maternal Plasma Using Shotgun Sequencing Is     Limited Only by Counting Statistics,” PLoS ONE, 2010, Page(s): 1-7,     Vol. 5, Issue 5, e10439 -   Lo, K. K., et al., “Limited Clinical Utility of Non-invasive     Prenatal Testing for Subchromosomal Abnormalities,” The American     Journal of Human Genetics, 2016, Page(s): 34-44, Vol. 98 -   Ross, M. G., et al., “Characterizing and measuring bias in sequence     data,” Genome Biology, 2013, Page(s): 1-20, Vol. 14, No. R51 -   Sehnert, A. J., et al., “Optimal Detection of Fetal Chromosomal     Abnormalities by Massively Parallel DNA Sequencing of Cell-Free     Fetal DNA from Maternal Blood,” Clinical Chemistry, 2011, Page(s):     1042-1049, Vol. 57, Issue 7 -   Strayer, R.; Oudejans, C. B.; Sistermans, E. A.; Reinders, M. J.     Calculating the fetal fraction for noninvasive prenatal testing     based on genome-wide nucleosome profiles. Prenat. Diagn. 2016, 36,     614-621 -   Yu, S. C. Y., et al., “Noninvasive Prenatal Molecular Karyotyping     from Maternal Plasma,” PLoS ONE, 2013, Page(s): 1-8, Vol. 8, Issue     4, e60968 -   Yua, S. C. Y., et al., “Size-based molecular diagnostics using     plasma DNA for noninvasive prenatal testing,” PNAS, Jun. 10, 2014,     Page(s): 8583-8588, Vol. 111, No. 23 -   Zhao, C., et al., “Detection of Fetal Subchromosomal Abnormalities     by Sequencing Circulating Cell-Free DNA from Maternal Plasma,”     Clinical Chemistry, 2015, Page(s): 608-616 Vol. 61, Issue 4 -   The American Heritage® Dictionary of Student Science, Second     Edition. Copyright © 2014 by Houghton Mifflin Harcourt Publishing     Company. Published by Houghton Mifflin Harcourt Publishing Company.     All rights reserved. -   Feller, William 1966. An Introduction To Probability Theory and Its     Applications. Wiley 

What is claimed is:
 1. A method for measuring nucleic acid sequence abundances comprising: a. obtaining first data that indicates a target sequence of nucleic acid bases at a plurality of loci, wherein the target sequence comprises a plurality of bins of loci for which a relative abundance is indicative of a condition of interest; b. measuring a sample from a subject to obtain reads; c. determining second data that indicates alignment with the target sequence of reads of DNA fragments in a sample from a subject; d. obtaining third data that indicates locus dependent observed variations in abundance; e. determining a raw count Hj of reads that start at each locus j; f. determining a copy number of a first bin based on a sum over all loci in the first bin of expected counts for each partition weighted by the locus dependent observed variations; and g. presenting on a display, output data that indicates condition of the subject based at least in part on the copy number of the first bin.
 2. A method as recited in claim 1, further comprising determining in the second data which positions are never covered and adding those positions into a mask of loci excluded from the target sequence.
 3. A non-transitory computer-readable medium carrying one or more sequences of instructions, wherein execution of the one or more sequences of instructions by one or more processors causes the one or more processors to perform the following: a. obtaining first data that indicates a target sequence of nucleic acid bases at a plurality of loci, wherein the target sequence comprises a plurality of bins of loci for which a relative abundance is indicative of a condition of interest; b. obtaining reads from a sample from a subject c. determining second data that indicates alignment with the target sequence of reads of DNA fragments in a sample from a subject; d. obtaining third data that indicates locus dependent observed variations in abundance; e. determining a raw count Hj of reads that start at each locus j; f. determining a copy number of a first bin based on a sum over all loci in the first bin of expected counts for each partition weighted by the locus dependent observed variations; and g. presenting on a display, output data that indicates condition of the subject based at least in part on the copy number of the first bin.
 4. A system comprising: a sequencing device; at least one processor; and at least one memory including one or more sequences of instructions, the at least one memory and the one or more sequences of instructions configured to, with the at least one processor, cause the apparatus to: a. obtain first data that indicates a target sequence of nucleic acid bases at a plurality of loci, wherein the target sequence comprises a plurality of bins of loci for which a relative abundance is indicative of a condition of interest; b. measure a sample in the sequencing device to obtain reads; c. determining second data that indicates alignment with the target sequence of reads of DNA fragments in a sample from a subject; d. obtaining third data that indicates locus dependent observed variations in abundance; e. determining a raw count Hj of reads that start at each locus j; f. determining a copy number of a first bin based on a sum over all loci in the first bin of expected counts for each partition weighted by the locus dependent observed variations; and g. presenting on a display, output data that indicates condition of the subject based at least in part on the copy number of the first bin. 